<template>


  <div style="height: 50px;line-height: 50px;border-bottom: 1px solid#ccc;
display: flex">
    <div style="width: 200px;padding-left :30px;font-weight: bold;color: aqua " >学生选课系统</div>
    <div style="flex: 1px"></div>
    <div style="width: 100px">

      <el-dropdown>
    <span class="el-dropdown-link">
      个人信息
      <el-icon class="el-icon--right">
        <arrow-down/>
      </el-icon>
    </span>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item @click="$router.push('/person')">个人信息</el-dropdown-item>
<!--            <el-dropdown-item>学号：狮子头</el-dropdown-item>-->
<!--            <el-dropdown-item>螺蛳粉</el-dropdown-item>
            <el-dropdown-item disabled>火锅</el-dropdown-item>-->
            <el-button divided @click="$router.push('/login')">退出登录</el-button>
          </el-dropdown-menu>
        </template>
      </el-dropdown>

    </div>

  </div>
</template>

<script>
export default {
  name: "Header"
}
</script>

<style scoped>

</style>